//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package objects;

import java.util.Collection;
import java.util.LinkedHashMap;

public class Productions {
    private static final LinkedHashMap<String, Productions.Entry> pmap = new LinkedHashMap();

    public Productions() {
    }

    public static void addEntry(Productions.Entry e) {
        pmap.put(e.productionName, e);
    }

    public static Collection<Productions.Entry> getProductionList() {
        return pmap.values();
    }

    public static Productions.Entry get(String name) {
        return (Productions.Entry)pmap.get(name);
    }

    public static class Entry {
        private final Integer objectClass;
        private final String csvFile;
        private final String productionName;

        public Entry(Integer objectClass, String csvFile, String productionName) {
            this.objectClass = objectClass;
            this.csvFile = csvFile;
            this.productionName = productionName;
        }

        public Integer getObjectClass() {
            return this.objectClass;
        }

        public String getCsvFile() {
            return this.csvFile;
        }

        public String getProductionName() {
            return this.productionName;
        }
    }
}
